package cloud.dandanit.itservice.controller.record;


import cloud.dandanit.itservice.service.record.VideoRecordService;
import cloud.dandanit.itservice.service.record.ViewRecordService;
import cloud.dandanit.itservice.utils.R;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 课程简介 前端控制器
 * </p>
 *
 * @author luokai
 * @since 2022-07-07
 */
@RestController
@RequestMapping("/itservice/videorecord")
public class VideoRecordController {

    @Autowired
    private VideoRecordService videoRecordService;

    /**
     * 增加记录
     * @return 成功
     */
    @ApiOperation(value = "增加记录")
    @GetMapping("addRecord")
    public R addRecord() {

        videoRecordService.addRecord();
        return R.ok();
    }
}

